//
//  MSDBManager.h
//  MagicSword
//
//  Created by Netease on 15/11/19.
//  Copyright © 2015年 Jonear. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MSDBManager : NSObject

+ (id)shareManager;

- (void)saveDBHeroArray:(NSArray *)heroArray;
- (NSArray *)loadDBHeroArray;

- (void)saveDBStoreWeapon:(NSArray *)storeArray;
- (NSArray *)getDBStoreWeaponArray;

- (void)savePassSession:(NSInteger)session Chapter:(NSInteger)chapter;
- (NSInteger)getPassSession;
- (NSInteger)getPassChapter;

- (void)saveMaxHeroCount:(NSInteger)count;
- (NSInteger)getMaxHeroCount;

- (void)sync;
@end
